
# is
a = [1,2,3]
b = [1,2,3]
# 直接比较与JS不同
# 比较的不是内存地址,而是变量引用的值
print(a == b)
# is 比较内存地址
print(a is b)
